package com.entity;

public class Teacher {
    String name;
    int sarlay;

    public Teacher() {
    }

    public Teacher(String name, int sarlay) {
        this.name = name;
        this.sarlay = sarlay;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSarlay() {
        return sarlay;
    }

    public void setSarlay(int sarlay) {
        this.sarlay = sarlay;
    }
}
